package cmpe451.group7.ourcity.service;

import java.util.Date;
import java.util.List;

import cmpe451.group7.ourcity.entity.Comment;
import cmpe451.group7.ourcity.entity.Place;
import cmpe451.group7.ourcity.entity.Tag;
import cmpe451.group7.ourcity.entity.User;

public interface CommentService {

	public List<Comment> findComments(Place p);

	public Comment createComment(Place place, User user, String commentText,
			List<Tag> tags, Date date);

	public List<Comment> findByRestrictions(long placeId,
			String commentSearchText, Date fromDate, Date toDate,
			List<Tag> commentSearchTags);
	

	public Comment findAndFillTags(long commentID);
	
	public Comment findAndFillTagsAndMultimediaId(int commentId);

}
